Dynamic Time Warping and Geometric Edit Distance: Breaking the Quadratic Barrier
نویسندگان
چکیده
Dynamic Time Warping (DTW) and Geometric Edit Distance (GED) are basic similarity measures between curves or general temporal sequences (e.g., time series) that are represented as sequences of points in some metric space (X, dist). The DTW and GED measures are massively used in various fields of computer science and computational biology, consequently, the tasks of computing these measures are among the core problems in P. Despite extensive efforts to find more efficient algorithms, the best-known algorithms for computing the DTW or GED between two sequences of points in X = R are long-standing dynamic programming algorithms that require quadratic runtime, even for the one-dimensional case d = 1, which is perhaps one of the most used in practice. In this paper, we break the nearly 50 years old quadratic time bound for computing DTW or GED between two sequences of n points in R, by presenting deterministic algorithms that run in O ( n2 log log logn/ log logn ) time. Our algorithms can be extended to work also for higher dimensional spaces R, for any constant d, when the underlying distance-metric dist is polyhedral (e.g., L1, L∞). 1998 ACM Subject Classification F.2.2 [Nonnumerical Algorithms and Problems] Geometrical Problems and Computations
منابع مشابه
Dynamic Time Warping: Breaking the Quadratic Barrier
Dynamic Time Warping (DTW) is one of the basic similarity measures between curves or general temporal sequences (e.g., time series) that are represented as sequence of points in some metric space pX, distq. The DTW measure is massively used in many practical fields of computer science, and computing the DTW between two sequences is a classical problem in P. Despite extensive efforts to find mor...
متن کاملDistances with Stiffness Adjustment for Time Series Matching ( September 2006
In a way similar to the string-to-string correction problem we address time series similarity in the light of a time-series-to-time-series-correction problem for which the similarity between two time series is measured as the minimum cost sequence of "edit operations" needed to transform one time series into another. To define the “edit operations” we use the paradigm of a graphical editing pro...
متن کاملMeasuring Space-Time Prism Similarity Through Temporal Profile Curves
Space-time paths and prisms based on the time geographic framework model actual (empirical or simulated) and potential mobility, respectively. There are well-established methods for quantitatively measuring similarity between space-time paths, including dynamic time warping and edit-distance functions. However, there are no corresponding measures for comparing space-time prisms. Analogous to pa...
متن کاملContour-Based Shape Retrieval Using Dynamic Time Warping
A dissimilarity measure for shapes described by their contour, the Cyclic Dynamic Time Warping (CDTW) dissimilarity, is introduced. The dissimilarity measure is based on Dynamic Time Warping of cyclic strings, i.e., strings with no definite starting/ending points. The Cyclic Edit Distance algorithm by Maes cannot be directly extended to compute the CDTW dissimilarity, as we show in the paper. W...
متن کاملTime Warp Edit Distance with Stiffness Adjustment for Time Series Matching
In a way similar to the string-to-string correction problem we address time series similarity in light of a time-series-to-time-series-correction problem for which the similarity between two time series is measured as the minimum cost sequence of "edit operations" needed to transform one time series into another. To define the " edit operations " we use the paradigm of a graphical editing proce...
متن کامل